projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
574805b
)
Fix build when have_libsoup_client_certs=no
author
Gatis Paeglis
<gatis.paeglis@qt.io>
Thu, 12 May 2016 12:42:38 +0000
(14:42 +0200)
committer
Atomic Bot
<atomic-devel@projectatomic.io>
Fri, 13 May 2016 14:33:08 +0000
(14:33 +0000)
This fixes a build failure with older libsoup versions
that do not have the client certificates feature.
Closes: #294
Approved by: cgwalters
src/libostree/ostree-fetcher.c
patch
|
blob
|
history
diff --git
a/src/libostree/ostree-fetcher.c
b/src/libostree/ostree-fetcher.c
index 6a75ad5987f891eb5a103d73704c3d1a986a6bd2..91b419a5793e4f9c2d2ad017c1af451a9a84dad8 100644
(file)
--- a/
src/libostree/ostree-fetcher.c
+++ b/
src/libostree/ostree-fetcher.c
@@
-273,6
+273,7
@@
session_thread_set_proxy_cb (ThreadClosure *thread_closure,
proxy_uri, NULL);
}
+#ifdef HAVE_LIBSOUP_CLIENT_CERTS
static void
session_thread_set_tls_interaction_cb (ThreadClosure *thread_closure,
gpointer data)
@@
-288,6
+289,7
@@
session_thread_set_tls_interaction_cb (ThreadClosure *thread_closure,
SOUP_SESSION_TLS_INTERACTION,
interaction, NULL);
}
+#endif
static void
session_thread_set_tls_database_cb (ThreadClosure *thread_closure,